package com.zengdada.authority.controller;

import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * @Auther: 12614
 * @Contact: 1261438511@qq.com
 * @Date: 2019/3/1 11:28
 * @Description:
 */
@Api(hidden = true)
@Controller
@RequestMapping("/authority/api")
public class ApiAuthorityController {

    @GetMapping("/dml/help.html")
    public String help(HttpServletRequest request) {
        request.setAttribute("title", "dml参数接口");
        return "authority/api/dml/help";
    }

    @GetMapping("/search/help.html")
    public String search(HttpServletRequest request) {
        request.setAttribute("title", "search参数接口");
        return "authority/api/search/help";
    }
}
